package log

import (
	"log"
	"os"
)

type Logger struct {
	Name string
}

func (l *Logger) Ok(a ...interface{}) {
	log.Print("[ok   ] ")
	log.Println(a...)
}

func (l *Logger) Fail(a ...interface{}) {
	log.Print("[fail ] ")
	log.Println(a...)
}

func (l *Logger) Msg(a ...interface{}) {
	log.Println(a...)
}

func (l *Logger) Debug(a ...interface{}) {
	log.Print("[debug] ")
	log.Println(a...)
}

func (l *Logger) Warn(a ...interface{}) {
	log.Print("[warn ] ")
	log.Println(a...)
}
func (l *Logger) Info(a ...interface{}) {
	log.Print("[info ] ")
	log.Println(a...)
}

func (l *Logger) Error(a ...interface{}) {
	log.Print("[error] ")
	log.Println(a...)
}

func (l *Logger) Fatal(a ...interface{}) {
	log.Print("[fatal] ")
	log.Println(a...)
	os.Exit(-1)
}
